﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DomainModels.Dto
{
    public class FlowerInfo
    {

        [Display(Name = "当前页数")]
        [Column(TypeName = "int")]
        [Required(ErrorMessage = "页数不能为空")]
        public int Page { get; set; }

        [Display(Name = "User_Id")]
        [Column(TypeName = "int")]
        [Required(AllowEmptyStrings = false)]//表示不允许空字符串作为有效的输入‌
        public int User_Id { get; set; }


    }
}
